package com.example.backend.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Map;

/**
 * 集成测试请求DTO
 */
@Data
public class IntegrationTestRequest {
    @NotBlank(message = "集成类型不能为空")
    private String integrationType; // WEBHOOK, API, DATABASE
    
    @NotBlank(message = "测试URL不能为空")
    private String testUrl;
    
    private Map<String, String> headers;
    private Map<String, Object> parameters;
    private String method = "GET"; // GET, POST, PUT, DELETE
    private String body;
}
